package cn.sys.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * (Student)实体类
 */
public class Student implements Serializable {
    private static final long serialVersionUID = -16296821000929491L;
    /**
     * 主键
     */
    private Integer stuId;
    /**
     * 学生的用户名
     */
    private String stuName;
    /**
     * 密码
     */
    private String password;
    /**
     * 真实姓名
     */
    private String realName;
    /**
     * 年龄
     */
    private Integer age;
    /**
     * 性别
     */
    private String gender;
    /**
     * 手机号
     */
    private String phoneNum;
    /**
     * 学校
     */
    private String schoolName;
    /**
     * 锁定状态：
     * 0正常     1锁定
     */
    private Integer lockState;
    /**
     * 锁定时间
     */
    private Date lockTime;
    /**
     * 登录时间
     */
    private Date loginTime;
    /**
     * 登录失败次数统计，达到5次，账号锁定
     */
    private Integer failCount;

    public Student() {
    }

    public Student(Integer stuId, String stuName, String password, String realName, Integer age, String gender, String phoneNum, String schoolName, Integer lockState, Date lockTime, Date loginTime, Integer failCount) {
        this.stuId = stuId;
        this.stuName = stuName;
        this.password = password;
        this.realName = realName;
        this.age = age;
        this.gender = gender;
        this.phoneNum = phoneNum;
        this.schoolName = schoolName;
        this.lockState = lockState;
        this.lockTime = lockTime;
        this.loginTime = loginTime;
        this.failCount = failCount;
    }

    public Integer getStuId() {
        return stuId;
    }

    public void setStuId(Integer stuId) {
        this.stuId = stuId;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public Integer getLockState() {
        return lockState;
    }

    public void setLockState(Integer lockState) {
        this.lockState = lockState;
    }

    public Date getLockTime() {
        return lockTime;
    }

    public void setLockTime(Date lockTime) {
        this.lockTime = lockTime;
    }

    public Date getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Date loginTime) {
        this.loginTime = loginTime;
    }

    public Integer getFailCount() {
        return failCount;
    }

    public void setFailCount(Integer failCount) {
        this.failCount = failCount;
    }

}
